package com.xcity.pomelo.request;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

import com.xcity.pomelo.PomeloRoute;

@PomeloMessage(route = PomeloRoute.USE_ITEM)
public class UseItemRequest extends PomeloPacket {

	private long id; // 物品实例id
	private int count; // 使用数量
	private long target; // 使用目标玩家id(自己:0)

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public long getTarget() {
		return target;
	}

	public void setTarget(long target) {
		this.target = target;
	}

}
